package com.customer.action;

import com.customer.model.User;
import com.opensymphony.xwork2.ActionSupport;

public class UserAction extends ActionSupport 
{

	/**;
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private User user;

	@Override
	public String execute() throws Exception {
		return SUCCESS;
	}
	
	
	public String findUser()
	{
		user = new User();
		user.setUserName("liuwenbo");
		user.setPassword("2580233");
		user.setPhone("2580233");
		user.setState("1");
		user.setCreateEmp("admin");
		user.setName("刘文波");
		return "jsonres";
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
